Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dependencies): remove libc crate from dependencies #3377

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Oct 29, 2023

hyper uses libc in ffi feature for the C language's type aliases. As hyper's ffi feature is an unstable feature, hyper could use these types via std::ffi which require Rust 1.64, except for c_size_t which is a nightly only API. As libc::size_t and core::ffi::c_size_t are both defined as usize, this type might be able to be defined as type alias in hyper until it stabilizes.

Copy link

@kkocdko kkocdko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see the deps strip.

@tottoto tottoto merged commit 65026b2 into hyperium:master Nov 17, 2024
21 checks passed
@tottoto tottoto deleted the remove-libc branch November 17, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants